package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 选课计划
 * </p>
 *
 * @author quin.song
 * @since 2024-05-21
 */
@Data
@Accessors(chain = true)
@TableName("css_task_info")
@ApiModel(value = "CssTaskInfo对象", description = "选课计划")
public class CssTaskInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "css_task_id", type = IdType.AUTO)
    private Integer cssTaskId;

    private Integer taskId;

    private String cssTaskName;

    @ApiModelProperty("选课任务进度: 0：未发布选课 1：发布选课页面完成（发布完成） 2：选课结果（选课结束）")
    private Integer cssTaskStatus;

    @ApiModelProperty("1预选 2正式选课 3重修选课")
    private Integer type;

    @ApiModelProperty("最低开班人数")
    private Integer classNum;

    @ApiModelProperty("选课说明富文本")
    private String description;

    @ApiModelProperty("主修学分上限")
    private Double creditLimit;

    @ApiModelProperty("主修课程数上限")
    private Integer courseLimit;

    @ApiModelProperty("已修并且拿到学分的课程，是否允许再选 1、允许 2、不允许")
    private Integer respectStudy;

    @ApiModelProperty("是否允许跨校区选课 1、允许 2、不允许")
    private Integer campusCross;

    @ApiModelProperty("创建人id")
    private String createdUserId;

    @ApiModelProperty("是否允许选课课程冲突  1允许 2不允许")
    private Integer courseConflict;

    private String createdUserName;

    private Date createdTime;
}
